package com.software.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.software.bean.ObserverBean;
import com.software.dto.AddObserverDto;
import com.software.dto.ReplyDto;
import com.software.vo.ObserverVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wyj
 * @since 2024-04-03
 */
public interface ObserverService extends IService<ObserverBean> {

    Integer addObserver(AddObserverDto observerDto);


    List<ObserverVo> getObserverList(Integer productId);

    Integer addComment(ReplyDto replyDto);

    Integer deleteRootObserver(Integer observerId);
}
